package com.siashan.unipay4j.core.transfer;

import com.siashan.unipay4j.core.IBaseEnum;

/**
 * 转账类型
 *
 * @author  siashan
 * @since  v1.0.1
 **/
public enum TransferType implements IBaseEnum<String> {
    /**
     * 转账到账户
     */
    TO_ACCOUNT("TO_ACCOUNT", "转账到账户"),
    /**
     * 转账到银行卡
     */
    TO_BANK("TO_BANK", "转账到银行卡"),
    ;
    private String value;
    private String desp;

    TransferType(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
